#include<stdio.h>

char* f(int n, char* str) {
	int tmp, i = 0;
	if (n < 0) 
	str[i++] = '-';
	while (n != 0) {
		tmp = n % 10;
		if (tmp < 0)
			tmp = -tmp;
		str[i++] = tmp + '0';
		n /= 10;
	}
	return str;
}

char a[100];
int main() {
	printf("%s", f(-1111, a));
	return 0;
}
